#ifndef EDU_MS_H
#define EDU_MS_H

#include <iostream>
#include "abstractms.h"
using namespace std;

class ClassMS;
class CourseMS;
class StudentMS;
class TeacherMS;

class EduMS:public AbstractMS
{
public:
    EduMS();
    virtual ~EduMS();

    enum SUB_SYSTEM{
        SUB_None = 0,
        SUB_Teacher,
        SUB_Classroom,
        SUB_Student,
        SUB_Course,
        SUB_Grade
    };

    ///虚函数
    void openFile();
    void saveFile();
    int execSystem(void);
    void showMenu(void);
    void showBegin(void);

private:
    int m_subSystem;

    TeacherMS *m_teacherSubMS;
    ClassMS *m_classSubMS;
    StudentMS *m_studentSubMS;
    CourseMS *m_courseSubMS;
};

#endif // EDU_MS_H
